package com.yzc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yzc.model.entity.ticket_order.OrderMain;

public interface TicketMainOrderService extends IService<OrderMain> {
    Page<OrderMain> listOrders(Page<OrderMain> page, Long userId);

    OrderMain getOrderDetail(Long orderId);

    void cancelOrder(Long orderId,Long userId, String cancelReason);
}
